import { defHttp } from '@/utils/http/axios';

enum Api {
  list = 'Warnings',
  del = 'Warnings/Discharge',
}

/**
 * 列表接口
 * @param params
 */
export const list = (params) => {
  params.DeviceCategory = '100,200,700,800';
  return defHttp.get({ url: Api.list, params });
};
export const del = (data) => {
  return defHttp.post({ url: Api.del, data });
};
